Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.17 KB

File metadata and controls

30 lines (21 loc) · 1.17 KB

Conditional Assertions

Definition:

  • it makes your test non-deterministic: you will never be sure which path will be verified in the next pass

Code Example:

if (existsInSystem(testUser)) {
  // test for existing user...
} else {
  // test for not existing user...
}

References:

Quality attributes